package com.luxuewen.sxa.entity.validator;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author wen
 */
@Data
public class SetPermissionVo implements Serializable {
    @NotNull(message = "角色ID不能为空")
    private Integer id;

    @NotNull(message = "菜单ID列表不能为空")
    private List<Integer> menuIds;
}
